package com.csy.rabbit.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csy.rabbit.admin.dto.AdminLoginDTO;
import com.csy.rabbit.admin.entity.Admin;

/**
 * <p>
 * 管理员表 服务类
 * </p>
 *
 * @author csy
 * @since 2022-12-08
 */
public interface AdminService extends IService<Admin> {
    /**
     * d登入验证
     * @param adminLoginDTO 返回给前端
     * @return
     */
    String login(AdminLoginDTO adminLoginDTO);

    Boolean method(String token);
}
